package com.ruoyi.system.service.impl;

import com.ruoyi.system.domain.ParkPrice;
import com.ruoyi.system.mapper.ParkPriceMapper;
import com.ruoyi.system.service.ParkPriceService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ParkPriceServiceImpl implements ParkPriceService {

    @Autowired
    private ParkPriceMapper parkPriceMapper;


    @Override
    public ParkPrice selectParkPriceById(Long id) {
        return parkPriceMapper.selectParkPriceMapperById(id);
    }

    @Override
    public List<ParkPrice> selectParkPriceList(ParkPrice parkPrice) {
        return parkPriceMapper.selectParkPriceMapperList(parkPrice);
    }

    @Override
    public int insertParkPrice(ParkPrice parkPrice) {
        return parkPriceMapper.insertParkPriceMapper(parkPrice);
    }

    @Override
    public int updataParkPrice(ParkPrice parkPrice) {
        return parkPriceMapper.updataParkPriceMapper(parkPrice);
    }

    @Override
    public int deleteParkPriceByIds(Long[] ids) {
        return parkPriceMapper.deleteParkPriceMapperByIds(ids);
    }

    @Override
    public int deleteParkPriceById(Long id) {
        return parkPriceMapper.deleteParkPriceMapperById(id);
    }
}
